package com.butuh.uang.tuh.ang.net;

import cn.droidlover.xdroidmvp.net.XApi;

/**
 * Created by wanglei on 2016/12/31.
 */

public class Api {
    public static final String API_BASE_URL_RONGIM ="https://api-test-v3-1025.emj8.com/";


    private static NetService netService;


    public static NetService getNetService() {
        if (netService == null) {
            synchronized (Api.class) {
                if (netService == null) {
                    netService = XApi.getInstance().getRetrofit(API_BASE_URL_RONGIM, true).create(NetService.class);
                }
            }
        }
        return netService;
    }


}
